package com.shycloud.mido.member.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import lombok.Data;

/**
 * 代理商机构关系表
 */
@Data
@TableName(value = "opt_org")
public class OptOrg {

	/**
	 * 运营商id
	 */
	@TableId(value = "opt_id", type = IdType.INPUT)
	private Integer optId = 999999;

	/**
	 * 机构id
	 */
	@TableId(value = "org_id", type = IdType.INPUT)
	private Integer orgId;

	/**
	 * 创建者
	 */
	@TableField(value = "create_user")
	private String createUser;

	/**
	 * 创建时间
	 */
	@TableField(value = "create_time")
	private Date createTime;

	/**
	 * 修改者
	 */
	@TableField(value = "update_user")
	private String updateUser;

	/**
	 * 修改时间
	 */
	@TableField(value = "update_time")
	private Date updateTime;

	public static final String COL_OPT_ID = "opt_id";

	public static final String COL_ORG_ID = "org_id";

	public static final String COL_CREATE_USER = "create_user";

	public static final String COL_CREATE_TIME = "create_time";

	public static final String COL_UPDATE_USER = "update_user";

	public static final String COL_UPDATE_TIME = "update_time";
}